package com.bignerdranch.android.sensorapplication.utils;

public class MagneticNode {
    private String direction;
    private int locX;
    private int locY;
    private double magX;
    private double magY;
    private double magZ;

    public MagneticNode() {
        super();
    }

    public MagneticNode(String direction, int locX, int locY, double magX, double magY, double magZ) {
        super();
        this.direction = direction;
        this.locX = locX;
        this.locY = locY;
        this.magX = magX;
        this.magY = magY;
        this.magZ = magZ;
    }

    public int getLocX() {
        return locX;
    }

    public void setLocX(int locX) {
        this.locX = locX;
    }

    public int getLocY() {
        return locY;
    }

    public void setLocY(int locY) {
        this.locY = locY;
    }

    public double getMagX() {
        return magX;
    }

    public void setMagX(double magX) {
        this.magX = magX;
    }

    public double getMagY() {
        return magY;
    }

    public void setMagY(double magY) {
        this.magY = magY;
    }

    public double getMagZ() {
        return magZ;
    }

    public void setMagZ(double magZ) {
        this.magZ = magZ;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    @Override
    public String toString() {
        return "MagneticNode{" +
                "direction='" + direction + '\'' +
                ", locX=" + locX +
                ", locY=" + locY +
                ", magX=" + magX +
                ", magY=" + magY +
                ", magZ=" + magZ +
                '}';
    }
}
